<?php
/***************************************************************
*  Copyright notice
*  (c) 2009, jianyuzhu@gmail.com
*  All rights reserved
*  This script is part of the PPEMI project.
***************************************************************/

class LibSpider {
	
	//constructor
	function LibSpider() {
		$this->init();
	}
	
	//methods
	function init() {
		$this->types = $this->_types();
	}
	
	//private
	function _type() {
		
	}
	
	function _types() {
		$types = array(
			array('1','Google','googlebot'),
			array('2','Google (Mobile)','Googlebot-Mobile'),
			array('3','Google (Image)','Googlebot-Image'),
			array('4','Google (AdSense)','Mediapartners-Google'),
			array('5','Google (Adwords)','AdsBot-Google'),
			array('6','Yahoo!','slurp'),
			array('7','Yahoo! (Mobile)','YahooSeeker/M1A1-R2D2'),
			array('8','Yahoo! (Image)','Yahoo-MMCrawler'),
			array('9','Yahoo! (Publisher)','yahoo'),
			array('10','MSN (Mobile)','MSNBOT_Mobile'),
			array('11','MSN (Media)','msnbot-media'),
			array('12','MSN','msnbot'),
			array('13','Cuil','twiceler'),
			array('14','Ask','Teoma'),
			array('15','Baidu','Baiduspider'),
			array('16','Gigablast','Gigabot'),
			array('17','InternetArchive','ia_archiver-web.archive.org'),
			array('18','Alexa','ia_archiver'),
			array('19','Omgili','omgilibot'),
			array('20','EntireWeb','Speedy Spider'),
				);
		
		return $types;
	}
}
//
?>